package com.xyz.entity.mapper;

import com.xyz.entity.pojo.UpkeepWorkOrder;
import com.xyz.entity.pojo.UpkeepWorkOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UpkeepWorkOrderMapper {
    long countByExample(UpkeepWorkOrderExample example);

    int deleteByExample(UpkeepWorkOrderExample example);

    int deleteByPrimaryKey(Long upkeepId);

    int insert(UpkeepWorkOrder record);

    int insertSelective(UpkeepWorkOrder record);

    List<UpkeepWorkOrder> selectByExample(UpkeepWorkOrderExample example);

    UpkeepWorkOrder selectByPrimaryKey(Long upkeepId);

    int updateByExampleSelective(@Param("record") UpkeepWorkOrder record, @Param("example") UpkeepWorkOrderExample example);

    int updateByExample(@Param("record") UpkeepWorkOrder record, @Param("example") UpkeepWorkOrderExample example);

    int updateByPrimaryKeySelective(UpkeepWorkOrder record);

    int updateByPrimaryKey(UpkeepWorkOrder record);

    int updateById(@Param(value = "id") Long upkeepId,@Param(value = "maintenEmployeeUsersId") String maintenEmployeeUsersId);
}